package org.spring.cloud.manager.impl;


import org.spring.cloud.dao.SeckillDetailMapper;
import org.spring.cloud.manager.SeckillDetailManager;
import org.spring.cloud.model.SeckillDetailModel;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

@Transactional
@Component
public class SeckillDetailManagerImpl implements SeckillDetailManager{

	@Autowired
	private SeckillDetailMapper seckillDetailMapper;

	@Override
	public void save(SeckillDetailModel seckillDetailModel) {
		this.seckillDetailMapper.insert(seckillDetailModel);
	}
	
}
